package com.jwdf.uda.ui.adapter.viewholder;

import android.databinding.DataBindingUtil;
import android.view.View;
import com.jwdf.uda.R;
import com.jwdf.uda.databinding.ViewLikeSectionBinding;
import com.jwdf.uda.ui.adapter.AbsViewHolder;
import com.jwdf.uda.ui.adapter.item.GuideDetailItem;

/**
 * Created by Administrator on 2016/10/17.
 */
public class GuideSectionLikeViewHolder extends AbsViewHolder<GuideDetailItem>{
    private ViewLikeSectionBinding mItemBinding;

    public GuideSectionLikeViewHolder(View convertView) {
        super(convertView);
        mItemBinding = DataBindingUtil.bind(convertView);
    }

    @Override
    protected void onBindView(GuideDetailItem item) {
        mItemBinding.tvZan.setText(convertView.getContext().getString(R.string.reply_like, item.likeCount));
        mItemBinding.llLikeTop.setVisibility(View.GONE);
//        mItemBinding.llLike.
    }

}
